This file explains what you should do if you are having either of the
following problems
 - Explore2fs does not find one or more of my Linux partitions
 - Explore2fs incorectly finds one of more of my Linux partitions
 - I used partition magic and now explore2fs crashes when I use it

Due to the lack of partition information offered to application programs under both
Windows 9x and Windows NT, I have had to implement my own code which will read the
partition table from your disk.  The code I have should support all disk sizes and
all modern partitioning schemes.  It does not use the CHS information and relies only
on the Start Sector and Sector Count fields.

The code was developed to work on my development machine which at the time had several
partitions on 3 disks.  My new machine has a single 16 Gig hard disk with 13 partitions
all of which are detected fine.  Despite my ability to find a problem with the code
I get many reports of problems with the partition code.

In an effort to resolve these issues so all users can experience Explore2fs, these simple
steps will gater the information I require to identify the problem.

Part 1 - The Explore2fs debug log
=================================
All of the code in explore2fs writes info to the debug log.  This is much like what a 
console application might write to it's stdout while in debug mode.  To capture the 
information in the debug log you will need to perform the following steps.

1 - Open the Options Dialog.  This can be done by selecting 'Options' from the 'View'
    menu.

2 - Switch to the 'Debug' tab.  This tab contains several debug options.

3 - Set the 'Debug Level' to 'High'.  This will create the most verbose debug info

3 - Check the 'Show debug window' check box

4 - Uncheck the 'Enable write support' check box

5 - Check the 'Auto save debug log' check box

6 - Uncheck the 'Non-standard partition type' check box.

7 - Uncheck the 'Use Native NT IO' check box.

8 - Click on 'OK'

9 - Quit Explore2fs.  All the options you have selected will be restored on the next
    startup

10 - Start Explore2fs.  All the required info should be printed in the debug window

11 - Quit Explore2fs.  This will save all your debug info in a file called 
     'explore2fs debug log.txt'.  

12 - Find this file and copy it or rename it as it will be overwritten every time you
     you quit Explore2fs.

Part 2 - Partinfo
=================
PowerQuest PartitionInfo 2.0 is a utility which comes with PartitionMagic.  You can download
it from ???

1 - Run PartitionInfo

2 - Click 'Save As...' and save the report to partinfo.txt

Now e-mail both these files to jn@it.swin.edu.au with a short description of the problem and
I will attempt to solve it.

Appendix I - My explore2fs debug log.txt
==========
Explore2fs version 1.00 pre 4
Written by John Newbigin
You have debug set to high.  Your debug log will now record lots of debug info
Send debug logs to jn@it.swin.edu.au
New file permissions is 0x1A4
Windows NT 4.0 build number 1381
Looking for Linux Partitions
Using LL_Scan (Low Level for NT)
Opening device...
\\.\PHYSICALDRIVE0
Looking for media...
Reading drive geometry...
Disk Geometry...
 Cylinders 2096
 Fixed hard disk media
 Tracks/Cylinder 255
 Sectors/Track   63
 Bytes/Sector    512
Looking for table at sector 0
Signature is AA55
Processing partitions
Partition           1 /dev/hdx1
 boot indicator      80
 starting cylinder   0
 starting head       1
 starting sector     1
 partition type      06
                     VFAT
 end cylinder        4
 end head            254
 end sector          127
 starting sector     63
 number of sectors   4192902

Processing partitions
Partition           2 /dev/hdx2
 boot indicator      00
 starting cylinder   5
 starting head       0
 starting sector     65
 partition type      05
                     Extended... (dos)
 end cylinder        255
 end head            254
 end sector          255
 starting sector     4192965
 number of sectors   18426555

Processing partitions
Partition           3 /dev/hdx3
 boot indicator      00
 starting cylinder   255
 starting head       0
 starting sector     193
 partition type      07
                     NTFS
 end cylinder        255
 end head            254
 end sector          255
 starting sector     22619520
 number of sectors   11052720

Processing partitions
Processing extended partition....
Looking for table at sector 4192965
Signature is AA55
Processing partitions
Partition           1 /dev/hdx5
 boot indicator      00
 starting cylinder   5
 starting head       1
 starting sector     65
 partition type      07
                     NTFS
 end cylinder        3
 end head            254
 end sector          191
 starting sector     63
 number of sectors   4096512

Processing partitions
Partition           2 /dev/hdx6
 boot indicator      00
 starting cylinder   4
 starting head       0
 starting sector     129
 partition type      05
                     Extended... (dos)
 end cylinder        2
 end head            254
 end sector          255
 starting sector     4096575
 number of sectors   4096575

Processing partitions
Processing partitions
Processing extended partition....
Looking for table at sector 8289540
Signature is AA55
Processing partitions
Partition           1 /dev/hdx6
 boot indicator      00
 starting cylinder   4
 starting head       1
 starting sector     129
 partition type      83
                     Linux
 end cylinder        2
 end head            254
 end sector          255
 starting sector     63
 number of sectors   4096512

Processing partitions
Partition           2 /dev/hdx7
 boot indicator      00
 starting cylinder   3
 starting head       0
 starting sector     193
 partition type      05
                     Extended... (dos)
 end cylinder        19
 end head            254
 end sector          255
 starting sector     8193150
 number of sectors   273105

Processing partitions
Processing partitions
Processing extended partition....
Looking for table at sector 12386115
Signature is AA55
Processing partitions
Partition           1 /dev/hdx7
 boot indicator      00
 starting cylinder   3
 starting head       1
 starting sector     193
 partition type      82
                     Linux Swap
 end cylinder        19
 end head            254
 end sector          255
 starting sector     63
 number of sectors   273042

Processing partitions
Partition           2 /dev/hdx8
 boot indicator      00
 starting cylinder   20
 starting head       0
 starting sector     193
 partition type      05
                     Extended... (dos)
 end cylinder        255
 end head            254
 end sector          255
 starting sector     8466255
 number of sectors   4096575

Processing partitions
Processing partitions
Processing extended partition....
Looking for table at sector 12659220
Signature is AA55
Processing partitions
Partition           1 /dev/hdx8
 boot indicator      00
 starting cylinder   20
 starting head       1
 starting sector     193
 partition type      06
                     VFAT
 end cylinder        255
 end head            254
 end sector          255
 starting sector     63
 number of sectors   4096512

Processing partitions
Partition           2 /dev/hdx9
 boot indicator      00
 starting cylinder   255
 starting head       0
 starting sector     193
 partition type      05
                     Extended... (dos)
 end cylinder        255
 end head            254
 end sector          255
 starting sector     12562830
 number of sectors   5863725

Processing partitions
Processing partitions
Processing extended partition....
Looking for table at sector 16755795
Signature is AA55
Processing partitions
Partition           1 /dev/hdx9
 boot indicator      00
 starting cylinder   255
 starting head       254
 starting sector     255
 partition type      83
                     Linux
 end cylinder        255
 end head            254
 end sector          255
 starting sector     63
 number of sectors   5863662

Processing partitions
Processing partitions
Processing partitions
Opening device...
\\.\PHYSICALDRIVE1
Found 2 Linux partitions


Appendix II - My partinfo.txt
===========
PowerQuest PartitionInfo 2.0 -- Windows NT Version
Date Generated:  09/03/00  17:13:33
Copyright (c)1994-1999, PowerQuest Corporation
Permission is granted for this utility to be freely copied so long
as it is not modified in any way.  All other rights are reserved.

PowerQuest, makers of PartitionMagic(r), Drive Image(tm), and DriveCopy(tm), can be reached at:
    Voice:  801-437-8900
    Fax:  801-226-8941
    Web site:  http://support.powerquest.com/support.html
    E-mail:  magic@powerquest.com

General System Information:
    Total Physical Memory (bytes):  133,550,080
    Used Physical Memory: (bytes):  109,907,968
    Maximum Page File Size: (bytes):  267,952,128
    Current Page File Size: (bytes):  91,119,616



===========================================================================================================
Disk Geometry Information for Disk 1:    2096 Cylinders,  255 Heads,  63 Sectors/Track
System              PartSect  # Boot BCyl Head Sect  FS    ECyl Head Sect    StartSect     NumSects
===========================================================================================================
                           0  0  80     0    1    1  06     260  254   63           63    4,192,902
                           0  1  00   261    0    1  05    1023  254   63    4,192,965   18,426,555
Info: End C,H,S values were large drive placeholders.
  Actual values are:
        0  1  00    261    0    1  05   1407  254   63   4192965  18426555
                           0  2  00  1023    0    1  07    1023  254   63   22,619,520   11,052,720
Info: Begin C,H,S values were large drive placeholders.
Info: End C,H,S values were large drive placeholders.
  Actual values are:
        0  2  00   1408    0    1  07   2095  254   63  22619520  11052720
                   4,192,965  0  00   261    1    1  07     515  254   63    4,193,028    4,096,512
                   4,192,965  1  00   516    0    1  05     770  254   63    8,289,540    4,096,575
                   8,289,540  0  00   516    1    1  83     770  254   63    8,289,603    4,096,512
                   8,289,540  1  00   771    0    1  05     787  254   63   12,386,115      273,105
SWAPSPACE2        12,386,115  0  00   771    1    1  82     787  254   63   12,386,178      273,042
                  12,386,115  1  00   788    0    1  05    1023  254   63   12,659,220    4,096,575
Info: End C,H,S values were large drive placeholders.
  Actual values are:
 12386115  1  00    788    0    1  05   1042  254   63  12659220   4096575
NO NAME           12,659,220  0  00   788    1    1  06    1023  254   63   12,659,283    4,096,512
Info: End C,H,S values were large drive placeholders.
  Actual values are:
 12659220  0  00    788    1    1  06   1042  254   63  12659283   4096512
                  12,659,220  1  00  1023    0    1  05    1023  254   63   16,755,795    5,863,725
Info: Begin C,H,S values were large drive placeholders.
Info: End C,H,S values were large drive placeholders.
  Actual values are:
 12659220  1  00   1043    0    1  05   1407  254   63  16755795   5863725
                  16,755,795  0  00  1023  254   63  83    1023  254   63   16,755,858    5,863,662
Info: Begin C,H,S values were large drive placeholders.
Info: End C,H,S values were large drive placeholders.
  Actual values are:
 16755795  0  00   1043    1    1  83   1407  254   63  16755858   5863662



===========================================================================================================
Partition Information for Disk 1:    16441.5 Megabytes
Volume         PartType    Status    Size MB    PartSect  #   StartSect  TotalSects   UsedSects   FreeSects
===========================================================================================================
C:             FAT16B      Pri,Boot   2047.3           0  0          63   4,192,902   3,830,177     362,725
               Extended    Pri        8997.3           0  1   4,192,965  18,426,555  18,426,555           0
               EPBR        Log        2000.3        None --   4,192,965   4,096,575   4,096,575           0
D:             NTFS        Log        2000.3     4192965  0   4,193,028   4,096,512   3,884,640     211,872
               EPBR        Log        2000.3     4192965  1   8,289,540   4,096,575   4,096,575           0
               Linux Ext2  Log        2000.3     8289540  0   8,289,603   4,096,512   3,572,024     524,488
               EPBR        Log         133.4     8289540  1  12,386,115     273,105     273,105           0
*:SWAPSPACE2   Linux Swap  Log         133.3    12386115  0  12,386,178     273,042           8     273,034
               EPBR        Log        2000.3    12386115  1  12,659,220   4,096,575   4,096,575           0
E:NO NAME      FAT16B      Log        2000.3    12659220  0  12,659,283   4,096,512   3,329,943     766,569
               EPBR        Log        2863.1    12659220  1  16,755,795   5,863,725   5,863,725           0
               Linux Ext2  Log        2863.1    16755795  0  16,755,858   5,863,662   2,007,598   3,856,064
F:             NTFS        Pri        5396.8           0  2  22,619,520  11,052,720   2,649,128   8,403,592


===========================================================================================================
Boot Record for drive C:   (Drive: 1, Starting Sector: 63, Type: FAT)
===========================================================================================================
 1. Jump:                 EB 3C 90
 2. OEM Name:             MSWIN4.1
 3. Bytes per Sector:     512
 4. Sectors per Cluster:  64
 5. Reserved Sectors:     1
 6. Number of FAT's:      2
 7. Root Dir Entries:     512
 8. Total Sectors:        0  (0x0)
 9. Media Descriptor:     0xF8
10. Sectors per FAT:      256
11. Sectors per Track:    63  (0x3F)
12. Number of Heads:      255  (0xFF)
13. Hidden Sectors:       63  (0x3F)
14. Big Total Sectors:    4192902  (0x3FFA86)
15. Drive ID:             0x80
16. Dirty Flag:           0x1
17. Extended boot Sig:    0x29
18. Serial Number:        0x3F4C1DE6
19. Volume Name:                     
20. File System Type:     FAT16   
21. Boot Signature:       0xAA55

===========================================================================================================
Boot Record for drive D:   (Drive: 1, Starting Sector: 4193028, Type: NTFS)
===========================================================================================================
 1. Jump:                   EB 5B 90
 2. OEM Name:               NTFS    
 3. Bytes per Sector:       512
 4. Sectors per Cluster:    1
 5. Reserved Sectors:       0
 6. Number of FATs:         0
 7. Root Dir Entries:       0
 8. Total Sectors:          0
 9. Media Descriptor:       0xF8
10. Sectors per FAT:        0
11. Sectors per Track:      63  (0x3F)
12. Number of Heads:        255  (0xFF)
13. Hidden Sectors:         63  (0x3F)
14. Total Sectors (>32MB):  0  (0x0)
15. Unused:                 0x80008000
16. Total NTFS Sectors:     4096511
17. MFT Start Cluster:      156119
18. MFT Mirror Start Clust: 2048255
19. Clusters per FRS:       2
20. Clusters per Index Blk: 8
21. Serial Number:          0xFAFCAB98FCAB4E27
22. Checksum:               0  (0x0)
23. Boot Signature:         0xAA55

===========================================================================================================
Boot Record for drive E:   (Drive: 1, Starting Sector: 12659283, Type: FAT)
===========================================================================================================
 1. Jump:                 EB 3C 90
 2. OEM Name:             MSDOS5.0
 3. Bytes per Sector:     512
 4. Sectors per Cluster:  64
 5. Reserved Sectors:     1
 6. Number of FAT's:      2
 7. Root Dir Entries:     512
 8. Total Sectors:        0  (0x0)
 9. Media Descriptor:     0xF8
10. Sectors per FAT:      251
11. Sectors per Track:    63  (0x3F)
12. Number of Heads:      255  (0xFF)
13. Hidden Sectors:       63  (0x3F)
14. Big Total Sectors:    4096512  (0x3E8200)
15. Drive ID:             0x80
16. Dirty Flag:           0x0
17. Extended boot Sig:    0x29
18. Serial Number:        0x7CFC541C
19. Volume Name:          NO NAME    
20. File System Type:     FAT16   
21. Boot Signature:       0xAA55

===========================================================================================================
Boot Record for drive F:   (Drive: 1, Starting Sector: 22619520, Type: NTFS)
===========================================================================================================
 1. Jump:                   EB 5B 90
 2. OEM Name:               NTFS    
 3. Bytes per Sector:       512
 4. Sectors per Cluster:    8
 5. Reserved Sectors:       0
 6. Number of FATs:         0
 7. Root Dir Entries:       0
 8. Total Sectors:          0
 9. Media Descriptor:       0xF8
10. Sectors per FAT:        0
11. Sectors per Track:      63  (0x3F)
12. Number of Heads:        255  (0xFF)
13. Hidden Sectors:         22619520  (0x1592580)
14. Total Sectors (>32MB):  0  (0x0)
15. Unused:                 0x80008000
16. Total NTFS Sectors:     11052719
17. MFT Start Cluster:      4
18. MFT Mirror Start Clust: 690794
19. Clusters per FRS:       246
20. Clusters per Index Blk: 1
21. Serial Number:          0x7644DDD244DD94E9
22. Checksum:               0  (0x0)
23. Boot Signature:         0xAA55

